package com.itcase.generitype.Demo01;

import com.itcase.interfacedemo.Demo02.Student;

/*
泛型
*/
public class Test {
    public static void main(String[] args) {
        A<String> a=new A<>();
        A<Student> a1 =new A<>();
        a.setName("小李");
        System.out.println(a.getName());
        System.out.println(a1.getName());
    }
}
